<!--<include file="public+header">-->

<!--{script}-->
checkForm(updateForm);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<lang package='Template'>-->编辑多媒体专辑<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a href="javascript:void(0);" onclick="adminctrlmenuAdd('<!--{:__SELF__}-->','<!--<lang package='Template'>-->编辑多媒体专辑<!--</lang>-->_<!--{$nId}-->')" title="<!--<lang package='Template'>-->添加到快捷导航<!--</lang>-->">[+]</a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li><!--<lang package='Template'>-->您可以在这里编辑多媒体专辑<!--</lang>--></li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<lang package='Template'>-->编辑多媒体专辑<!--</lang>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Q::U('attachmentcategory/index')}-->"><!--<lang package='Template'>-->多媒体专辑列表<!--</lang>--></a></li>
				</ul>
			</header>
			<form action="" method="post" id="attachmentcategoryAdd" class="validate">
				<div class="module_content">
					<fieldset>
						<div style="padding:3px 20px;">
							<table>
								<tr valign="top">
									<td width="50px"><p><a href="javascript:void(0);" target="_blank"><img src="<!--{:Attachment_Extend::getAttachmentcategoryPreview($oValue)}-->" alt="<!--{$oValue['attachmentcategory_name']}-->" width="46" height="60"></a>
										</p>
									</td>
									<td><p><strong><!--<lang package='Template'>-->专辑名字<!--</lang>-->：</strong> <!--{$oValue['attachmentcategory_name']}--></p>
										<p><strong><!--<lang package='Template'>-->附件数量<!--</lang>-->：</strong> <!--{$oValue['attachmentcategory_attachmentnum']}--></p>
										<p><strong><!--<lang package='Template'>-->创建日期<!--</lang>-->：</strong> <!--{$oValue['create_dateline']|Core_Extend+timeFormat}--></p>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					<fieldset>
						<label for="attachmentcategory_name"><!--<lang package='Template'>-->专辑名字<!--</lang>--><em class="red">*</em></label>
						<input type="text" name="attachmentcategory_name" id="attachmentcategory_name" size="40" value="<!--{$oValue:attachmentcategory_name}-->" class="{required:true}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->专辑名字，不能为空<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="attachmentcategory_sort"><!--<lang package='Template'>-->序号<!--</lang>--></label>
						<input type="text" name="attachmentcategory_sort" id="attachmentcategory_sort" size="40" value="<!--{$oValue:attachmentcategory_sort}-->" class="{required:true,digits:true,min:0,max:999}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->专辑序号，用于排列专辑顺序<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="attachmentcategory_cover"><!--<lang package='Template'>-->专辑封面<!--</lang>-->&nbsp;<span class="red" style="cursor:pointer;" onclick="$('#attachmentcategory_cover').val('');">x</span></label>
						<input type="text" name="attachmentcategory_cover" id="attachmentcategory_cover" size="40" value="<!--{$oValue:attachmentcategory_cover}-->" readonly/>
						<div class="description"><!--<lang package='Template'>-->专辑封面为一个附件的ID值,最好是图片附件<!--</lang>--></div>
					</fieldset>
					<fieldset>
						<label for="attachmentcategory_description"><!--<lang package='Template'>-->专辑描述<!--</lang>--></label>
						<textarea name="attachmentcategory_description" id="attachmentcategory_description" rows="5"><!--{$oValue:attachmentcategory_description}--></textarea>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="hidden" name="id" id="id" value="<!--{$nId}-->"/>
						<input type="submit" id="submit_button" value="<!--<lang package='Template'>-->更新<!--</lang>-->" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->